#include <iostream>
#include <cstdio>
using namespace std;

double open, high, low, close;
bool Lower_Shadow = false, upper_Shadow = false;
int main()
{
    cin >> open >> high >> low >> close;
    if (low < open && low < close)
        Lower_Shadow = true;
    if (high > open && high > close)
        upper_Shadow = true;
    if (close < open)
    {
        cout << "BW-Solid";
        if (upper_Shadow && Lower_Shadow)
            cout << " with Lower Shadow and Upper Shadow";
        else if (upper_Shadow)
            cout << " with Upper Shadow";
        else if (Lower_Shadow)
            cout << " with Lower Shadow";
    }
    else if (close == open)
    {
        cout << "R-Cross";
        if (upper_Shadow && Lower_Shadow)
            cout << " with Lower Shadow and Upper Shadow";
        else if (upper_Shadow)
            cout << " with Upper Shadow";
        else if (Lower_Shadow)
            cout << " with Lower Shadow";
    }
    else if (close > open)
    {
        cout << "R-Hollow";
        if (upper_Shadow && Lower_Shadow)
            cout << " with Lower Shadow and Upper Shadow";
        else if (upper_Shadow)
            cout << " with Upper Shadow";
        else if (Lower_Shadow)
            cout << " with Lower Shadow";
    }
}